<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jQuery.min.js"></script>
    <style>
        
    </style>
</head>

<body>
    <button>sdfsdfsdffdsf</button>
    <script>
        $(function(){
            $('button').on('click', function(e){
                console.log(e);
            });
        });
        // var xhr = new XMLHttpRequest();

        // xhr.open('post', 'https://test/first');

        // xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')

        // xhr.send();

        // xhr.onload = function(){
        //     console.log(xhr.responseText);
        // };

        // axios({
        //     url: 'https://test'
        // }).then(res => {
        //     console.log(res);
        // })

        $('ul').on('click', 'li', function () {
            alert(11);
        });

        var targetObj = {

        }
    </script>
</body>

</html>